<form class="form-horizontal col-lg-12" novalidate>
    {% csrf_token %}
    <p>{{ form_description }}</p>
    {% for field in data.form %}
        <div class="form-group col-lg-8{% if field.name == 'parent' or field.name == 'key' or field.name == 'status' or field.name == 'level' %} d-none{% endif %}">
            <label class="col-form-label">{{ field.label }}</label>
            <label id="{{ field.label }}-error" class="error">{{ field.errors.0 }}</label>
            {{ field }}
            {{ field.help_text|safe }}
        </div>
    {% endfor %}
</form>
